<template>
    <!-- 商品分类导航 -->
    <div class="type-nav">
        <div class="container">
            <slot></slot>
            <TopNav></TopNav>
        </div>
    </div>
</template>

<script setup lang="ts" name="TypeNav">
import TopNav from './TopNav.vue';
</script>

<style scoped lang="less">
.type-nav {
    border-bottom: 2px solid #e1251b;

    .container {
        width: 1200px;
        margin: 0 auto;
        display: flex;
        position: relative;
    }
}
</style>